package com.yunsc.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yunsc.common.utils.PageUtils;
import com.yunsc.common.utils.Query;

import com.yunsc.dao.YunscRechargeOrderDao;
import com.yunsc.module.entity.YunscRechargeOrderEntity;
import com.yunsc.service.YunscRechargeOrderService;


@Service("yunscRechargeOrderService")
public class YunscRechargeOrderServiceImpl extends ServiceImpl<YunscRechargeOrderDao, YunscRechargeOrderEntity> implements YunscRechargeOrderService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<YunscRechargeOrderEntity> page = this.page(
                new Query<YunscRechargeOrderEntity>().getPage(params),
                new QueryWrapper<YunscRechargeOrderEntity>()
        );

        return new PageUtils(page);
    }

}